﻿using System;
using System.Collections.Generic;
using System.Text;

namespace xowl.gmi.compiler.ast
{
    struct Cascade
    {
        private string parent;
        private string child;
        private string param1;
        private string param2;

        public string ParentSymbol { get { return parent; } }
        public string ChildSymbol { get { return child; } }
        public string ParentParam { get { return param1; } }
        public string ChildParam { get { return param2; } }

        public Cascade(string parentSymbol, string childSymbol, string parentParam, string childParam)
        {
            this.parent = parentSymbol;
            this.child = childSymbol;
            this.param1 = parentParam;
            this.param2 = childParam;
        }
    }
}
